package com.xywl.escort.view.address;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class ManageAddressModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract ManageAddressActivity manageAddressActivity();

    @ActivityScoped
    @Binds
    abstract ManageAddressContract.Presenter manageAddressPresenter(ManageAddressPresenter presenter);
}
